const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  pluginOptions:{
    electronBuilder:{
      preload:'src/preload.js',
      builderOptions:{
        productName:"Pepsi Music Separator",
        appId:"com.electron.pepsi",
        copyright:"©2022 ChengShaolei. All rights reserved.",
        win:{
          icon:"./src/assets/icons/logo.ico"
        },
        extraResources: [
          {
            from: './src/assets/icons', 
            to: 'icons'
          },
          {
            from: './spleeter-win', 
            to: 'spleeter-win'
          }
        ]
      }
    }
  }
})
